import React from "react";
import { uniqueId } from "lodash";
import type { SVGProps } from "react";

const Brave = (props: SVGProps<SVGSVGElement>) => {
  const clipPathId = uniqueId("clip-path-");
  const fillPathId = uniqueId("fill-path-");
  return (
    <svg fill="none" xmlns="http://www.w3.org/2000/svg" {...props}>
      <rect width="32" height="32" fill="white" />
      <g clipPath={`url(#${clipPathId})`}>
        <path
          fillRule="evenodd"
          clipRule="evenodd"
          d="M26.0171 9.38964L26.61 7.93249C26.61 7.93249 25.8554 7.12296 24.9391 6.2055C24.0227 5.28804 22.0823 5.82772 22.0823 5.82772L19.8724 3.31738H15.9915H12.1106L9.9007 5.82772C9.9007 5.82772 7.96027 5.28804 7.04395 6.2055C6.12763 7.12296 5.37302 7.93249 5.37302 7.93249L5.96593 9.38964L5.21132 11.5484C5.21132 11.5484 7.43069 19.965 7.69076 20.9928C8.20282 23.0167 8.55318 23.7992 10.0085 24.8246C11.4638 25.85 14.105 27.6309 14.5362 27.9008C14.9674 28.1706 15.5064 28.6303 15.9915 28.6303C16.4766 28.6303 17.0156 28.1706 17.4468 27.9008C17.878 27.6309 20.5192 25.85 21.9745 24.8246C23.4298 23.7992 23.7802 23.0167 24.2922 20.9928C24.5523 19.965 26.7717 11.5484 26.7717 11.5484L26.0171 9.38964Z"
          fill={`url(#${fillPathId})`}
        />
        <path
          fillRule="evenodd"
          clipRule="evenodd"
          d="M21.4625 7.41984C21.4625 7.41984 24.305 10.8603 24.305 11.5956C24.305 12.331 23.9474 12.525 23.5879 12.9073C23.2284 13.2895 21.6582 14.959 21.4565 15.1734C21.2549 15.3878 20.8351 15.7128 21.082 16.2979C21.3289 16.883 21.6932 17.6275 21.2881 18.3826C20.883 19.1377 20.189 19.6417 19.7444 19.5584C19.2997 19.475 18.2554 18.9286 17.8713 18.679C17.4873 18.4294 16.2701 17.4243 16.2701 17.0397C16.2701 16.6552 17.5283 15.9647 17.7607 15.8078C17.9932 15.651 19.0535 15.0438 19.0752 14.8055C19.0969 14.5671 19.0886 14.4972 18.7757 13.9083C18.4628 13.3193 17.8993 12.5334 17.9931 12.0106C18.0869 11.4877 18.9957 11.2158 19.6442 10.9706C20.2926 10.7254 21.5413 10.2623 21.6972 10.1903C21.8532 10.1183 21.8129 10.0497 21.3404 10.0048C20.8679 9.95997 19.5271 9.78176 18.9226 9.95047C18.3181 10.1192 17.2854 10.3758 17.2017 10.512C17.118 10.6481 17.0443 10.6527 17.1302 11.1222C17.216 11.5917 17.6583 13.8447 17.7013 14.2448C17.7442 14.645 17.8282 14.9096 17.3973 15.0082C16.9663 15.1069 16.2408 15.2782 15.9915 15.2782C15.7422 15.2782 15.0167 15.1069 14.5858 15.0082C14.1548 14.9096 14.2388 14.645 14.2817 14.2448C14.3247 13.8447 14.7669 11.5917 14.8529 11.1222C14.9387 10.6527 14.8649 10.6481 14.7813 10.512C14.6977 10.3758 13.6649 10.1192 13.0604 9.95047C12.4559 9.78176 11.1151 9.95997 10.6426 10.0048C10.1701 10.0497 10.1298 10.1183 10.2858 10.1903C10.4418 10.2623 11.6904 10.7254 12.3388 10.9706C12.9873 11.2158 13.8961 11.4877 13.9899 12.0106C14.0837 12.5334 13.5202 13.3193 13.2073 13.9083C12.8944 14.4972 12.8861 14.5671 12.9078 14.8055C12.9295 15.0438 13.9898 15.651 14.2223 15.8078C14.4547 15.9647 15.7129 16.6552 15.7129 17.0397C15.7129 17.4243 14.4958 18.4294 14.1117 18.679C13.7277 18.9286 12.6833 19.475 12.2387 19.5584C11.794 19.6417 11.1 19.1377 10.6949 18.3826C10.2898 17.6275 10.6541 16.883 10.901 16.2979C11.1479 15.7128 10.7281 15.3878 10.5264 15.1734C10.3249 14.959 8.75462 13.2895 8.3951 12.9073C8.03558 12.525 7.67805 12.331 7.67805 11.5956C7.67805 10.8603 10.5206 7.41984 10.5206 7.41984C10.5206 7.41984 12.9192 7.87857 13.2426 7.87857C13.566 7.87857 14.2667 7.60873 14.9135 7.39285C15.5603 7.17698 15.9915 7.17542 15.9915 7.17542C15.9915 7.17542 16.4227 7.17698 17.0695 7.39285C17.7163 7.60873 18.4171 7.87857 18.7405 7.87857C19.0639 7.87857 21.4625 7.41984 21.4625 7.41984ZM19.3315 20.5804C19.5075 20.6907 19.4001 20.8986 19.2399 21.0121C19.0796 21.1255 16.9257 22.7955 16.7166 22.9801C16.5076 23.1647 16.2004 23.4696 15.9915 23.4696C15.7826 23.4696 15.4754 23.1647 15.2664 22.9801C15.0573 22.7955 12.9034 21.1255 12.7431 21.0121C12.5828 20.8986 12.4755 20.6907 12.6515 20.5804C12.8275 20.4701 13.378 20.1918 14.1376 19.7982C14.8971 19.4047 15.8438 19.0701 15.9915 19.0701C16.1392 19.0701 17.0859 19.4047 17.8455 19.7982C18.6051 20.1918 19.1555 20.4701 19.3315 20.5804Z"
          fill="white"
        />
        <path
          d="M22.0823 5.82772L19.8724 3.31738H15.9915H12.1106L9.90071 5.82772C9.90071 5.82772 7.96028 5.28804 7.04396 6.2055C7.04396 6.2055 9.6312 5.97166 10.5206 7.41979C10.5206 7.41979 12.9192 7.87852 13.2426 7.87852C13.566 7.87852 14.2667 7.60868 14.9135 7.3928C15.5603 7.17693 15.9915 7.17537 15.9915 7.17537C15.9915 7.17537 16.4227 7.17693 17.0695 7.3928C17.7163 7.60868 18.4171 7.87852 18.7405 7.87852C19.0639 7.87852 21.4625 7.41979 21.4625 7.41979C22.3518 5.97166 24.9391 6.2055 24.9391 6.2055C24.0228 5.28804 22.0823 5.82772 22.0823 5.82772Z"
          fill={`url(#${fillPathId})`}
        />
      </g>
      <defs>
        <linearGradient
          id={fillPathId}
          x1="5.21132"
          y1="1286.82"
          x2="2161.25"
          y2="1286.82"
          gradientUnits="userSpaceOnUse"
        >
          <stop stopColor="#FF5500" />
          <stop offset="0.409877" stopColor="#FF5500" />
          <stop offset="0.581981" stopColor="#FF2000" />
          <stop offset="1" stopColor="#FF2000" />
        </linearGradient>
        <linearGradient
          id={fillPathId}
          x1="45.4905"
          y1="234.592"
          x2="1796.55"
          y2="234.592"
          gradientUnits="userSpaceOnUse"
        >
          <stop stopColor="#FF452A" />
          <stop offset="1" stopColor="#FF2000" />
        </linearGradient>
        <clipPath id={clipPathId}>
          <rect
            width="21.6"
            height="25.3651"
            fill="white"
            transform="translate(5.2 3.31738)"
          />
        </clipPath>
      </defs>
    </svg>
  );
};
export default Brave;
